package alex.game.state
{
	
	import flash.utils.getDefinitionByName;

	public class PlayStateFactory
	{
		//Import des classes
		alex.game.state.FFAPlayState;
		
		public static function create(playState_name:String):PlayState
		{
			var PlayStateClass:Class = getDefinitionByName(playState_name) as Class;
			var playState:PlayState = new PlayStateClass();
			return playState;
		}
	}
}